import _import from '../_import'
const organizationLayout = _import('/organizationLayout/Layout')

export default {
  path: '/Shop',
  component: organizationLayout,
  redirect: '/Shop/ShopDevideList',
  name: 'Shop',
  meta: {
    title: 'roles',
    inShop: true,
    isLogin: true
  },
  children: [
    { // 商户分成列表
      name: 'ShopDevideList',
      path: 'ShopDevideList',
      component: _import('/organizationLayout/organization/ShopDevide/list'),
      meta: {
        title: 'ShopDevideList',
        inShop: true,
        isLogin: true
      }
    },
    { // 商户权限列表
      name: 'ShopRoleList',
      path: 'ShopRoleList',
      component: _import('/organizationLayout/organization/role/list'),
      meta: {
        title: 'ShopRoleList',
        inShop: true,
        isLogin: true
      }
    },
    { // 系统消息间隔时间
      name: 'GetNoticeTime',
      path: 'GetNoticeTime',
      component: _import('/organizationLayout/organization/noticeTime/edit'),
      meta: {
        title: 'GetNoticeTime',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'GetServantRecommendation',
      path: 'GetServantRecommendation',
      component: _import('/organizationLayout/organization/recommendation/edit'),
      meta: {
        title: 'GetServantRecommendation',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'GetUserShopIndex',
      path: 'GetUserShopIndex',
      component: _import('/organizationLayout/organization/shopIndex/edit'),
      meta: {
        title: 'GetUserShopIndex',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'ShopReport',
      path: 'ShopReport',
      component: _import('/organizationLayout/organization/shopReport'),
      meta: {
        title: 'ShopReport',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'GetUserOac',
      path: 'GetUserOac',
      component: _import('/organizationLayout/organization/wechat/user'),
      meta: {
        title: 'GetUserOac',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'GetServantOac',
      path: 'GetServantOac',
      component: _import('/organizationLayout/organization/wechat/servants'),
      meta: {
        title: 'GetServantOac',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'wechatMiniProOac',
      path: 'GetSPOac',
      component: _import('/organizationLayout/organization/wechat/miniProgram'),
      meta: {
        title: 'wechatMiniProOac',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'ShopAgreementList', // 商户协议表
      path: 'ShopAgreementList',
      component: _import('/organizationLayout/organization/agreement/list'),
      meta: {
        title: 'ShopAgreementList',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'ShopAdminList', // 商户管理员列表
      path: 'ShopAdminList',
      component: _import('/organizationLayout/organization/ShopAdmin/list'),
      meta: {
        title: 'ShopAdminList',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'wechatMenuSetting', // 微信公众号菜单
      path: 'GetWechatMenu',
      component: _import('/organizationLayout/organization/wechatMenu/index'),
      meta: {
        title: 'wechatMenuSetting',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'organizationalStructureManage', // 商户组织架构
      path: 'ShopOrganizationalStructure',
      component: _import('/organizationLayout/organization/structure/index'),
      meta: {
        title: 'organizationalStructureManage',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'ShopCertificateTypeList', // 商户证书列表
      path: 'ShopCertificateTypeList',
      component: _import('/organizationLayout/organization/certificate/types'),
      meta: {
        title: 'ShopCertificateTypeList',
        inShop: true,
        isLogin: true
      }
    },
    {
      name: 'CertificateTypeTitleList', // 商户头衔列表
      path: 'CertificateTypeTitleList',
      component: _import('/organizationLayout/organization/certificate/titleList'),
      meta: {
        title: 'CertificateTypeTitleList',
        inShop: true,
        isLogin: true
      }
    }
  ]
}
